import axios from 'axios'
import axiosUtils from '../utils/axiosUtil'
export function login(userInfo) {
  return axios.post('/login/login', userInfo)
}

export function userInfo() {
  return axios.post('/user/getInfo')
}

export function logout() {
  return  axios.get("http://127.0.0.1/ai-face-system/ai_face/ai-face-attendance/user/logOut",{
    //参数列表
    params:{},
    //请求头配置
    headers:{ token: sessionStorage.getItem("token") }
  });
}
